'use strict';

/**
 * @ngdoc function
 * @name newWfApp.controller:MainCtrl
 * @description
 * # MainCtrl
 * Controller of the newWfApp
 */
angular.module('newWfApp')
  .controller('PackageDetailController', function ($scope, $http, $routeParams) {
      $http.get('http://10.28.6.9:8080/NDK_WF_AL/package/' + $routeParams.packageId).then(function (response){
          $scope.package = response.data;
      });
    
  });

